/*
 * @author java_deng
 * @date 2024/12/4 17:17
 * @description
 */
package org.kaka.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_user")
public class UserDto {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("username")
    private String username;
    private String password;
    @TableField("`desc`")
    private String desc;
    private String account;
    private String profile;
    private String gender;
    private Integer isDeleted;
    private String email;
    private Integer auth;

    @TableField(exist = false)
    private String code;
}
